package com.bxait.toymail.order.feign;

import com.bxait.toymail.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/*
@description:
@ClassName CartFeignService
@author Chen
@create 2023-05-13 16:11
@Version 1.0
*/
@FeignClient("toymail-cart")
public interface CartFeignService {
    /*
     * @param
     * @==============History===============<br/>
     * @Description //   获取当前用户需要结算的商品信息
     * @Date 2023/5/13 2023/5/13
     * @Author < a href="2277411582@qq.com">chen</ a>
     * @return java.util.List<OrderItemVo>
     */
    @GetMapping("/currentUserCartItems")
    List<OrderItemVo> getCurrentUserCartItems();

    @GetMapping("/deleteItems")
    void deleteItems();
}
